import { HTTP } from '../../util/http'

class Collection extends HTTP {
  collectionMy(data = {}) {
    const url = 'MomentCollection/selectOtherCollection'
    return new Promise((resolve, reject) => {
      this.request({
        data,
        url: url,
        newURL: true,
        success: resolve,
        method: 'POST'
      })
    })
  }
}

export default new Collection()
